
import Layout from '@/layout'

export default {
 alwaysShow: true,
 hidden:false,
  path: '/maintenance',
  component: Layout,
  name :'maintenance',
  meta: {
    title: '维修保养',
    icon: 'el-icon-first-aid-kit', 
    roles: [
      'maintenance'
    ]
  },
  children: [
    { path: '/maintenance/maintenance_log', component: ()=>import('@/views/maintenance/maintenance_log'), name: 'maintenanceLog', meta: { title: '维修记录',roles: ['maintenance.maintenance_log'] }},
    { path: '/maintenance/maintenance_plan', component: ()=>import('@/views/maintenance/maintenance_plan'), name: 'maintenancePlan', meta: { title: '维修计划',roles: ['maintenance.maintenance_plan'] }},
    { path: '/inspectiontask/index', component: ()=>import('@/views/inspectiontask/index'), name: 'inspectiontask', meta: { title: '巡检计划',roles: ['inspectiontask.index'] }}
  ]
}
